libxl: Fix vcpu-set for PV guest.
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 31 Jan 2014 16:35:47 +0000 (16:35 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 6 Feb 2014 11:48:16 +0000 (11:48 +0000)
commit21953764044f943d10bacce409ff4492d882d7cd
tree566b138c5405ea177474b17d4f2495148ed04cde
parentfee61634e8f3fec7c137f0d16478c64c7f355587
libxl: Fix vcpu-set for PV guest.

vcpu-set will try to use the HVM path (through QEMU) instead of the PV
path (through xenstore) for a PV guest, if there is a QEMU running for
this domain. This patch check which kind of guest is running before
before doing any call.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c